
typedef struct   target_pos{

 double target_pos_x;
 double target_pos_y;
double distance;
double target_yaw;
}target_pos_t;

typedef struct   target_latlng{

 double target_lat;
 double target_lng;
 double height;

}target_latlng_t;


double rad(double d);
double deg(double x);
target_latlng_t according_distance_caculate_latlng(float dist,float bearing,double destination_lat,double destination_lng);
double according_latlng_caculate_bearing(double origin_lat,double origin_lng,double destination_lat,double destination_lng);
target_pos_t get_vector_xy_from_current_position_NE_double(double LonA,double  LonB,double  LatA,double  LatB);